-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support TLS in Webternet. #1856
base: master
Are you sure you want to change the base?
Conversation
Update config-sm-linux.h. Update config-sm-mac.h. (mac supported now ?) Add config-sm-win.h.
Update Webternet AMBuilder. Update cURL AMBuilder. Add Mbed TLS AMBuilder.
Add path to Certificate Authority (CA) bundle. Remove unused func UTIL_Format and UTIL_FormatArgs.
I think a git submodule would be appropriate. |
Thanks for working on this!
This is fine, the individual commits are suitably sized. |
Update PackageScript: remove copy not exist dir. Update extension.h: change path ca-bundle.
For replace curl-src and mbedtls-src to submodules.
Move custom files in submodules on build.
I think this better, for keep clear repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good - great work, and nice to get a cURL update out of it too.
I think the deps are probably a question that'll take some debate - @alliedmodders/sourcemod how do we feel about introducing submodules for external dependencies? I was initially a little against it and preferred having things vendored in-tree for reliability, but especially given the provenance of these projects (and our other deps that could benefit from this treatment - sqlite and libpcre) and the fact we have SP submoduled so a recursive checkout is already required, keeping the repo cleaner is appealing.
I am in favour of this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One additional request to go with the AMBuild changes above, please could you add a feature provider for this so that exts can check if it is available? Take a look at the search results for AddCapabilityProvider
for inspiration.
Symlinks on windows require special capabilitities or SYSTEM privileges. So this breaks casual builds on windows :( |
symlink isn't the only problem. (1) third-party links in submodules are risky. They can and do disappear. They should be cloned into the alliedmodders organization. (2) modifying the source tree during the build is asking for trouble. instead, once the clone is available, these can be checked in as prebuilts, and updated on downstream merges. |
Remove symlinks, now it's not need.
Need import or fork repos in AlliedModders. |
How create pr to new branch ? on curl and mbedtls repos. |
@idk1703 are you still blocked on this? |
So i think this done
|
Resolves #1497.